import Layout from '@/layout'

export default {
  path: '/film',
  name: 'film',
  component: Layout,
  redirect: '/film/collection',
  hidden: false,
  alwaysShow: true,
  order: 4,
  meta: { title: '影片管理', icon: 'el-icon-film' },
  children: [
    {
      path: 'collection',
      name: 'collection',
      component: () => import('@/views/film/manage'),
      meta: { title: '影片列表' },
    },
    {
      path: 'episodes',
      name: 'episodes',
      hidden: true,
      component: () => import('@/views/film/episodes'),
      meta: { title: '影片剧集', activeMenu: '/film/collection' },
    },
    {
      path: 'category',
      name: 'category',
      component: () => import('@/views/film/category'),
      meta: { title: '影片分类' },
    },
  ],
}
